// 配置栏目表
const { Sequelize, Model } = require('sequelize')
const { sequelize } = require('../../config/db')
class Channel extends Model{
}
Channel.init({
	name: Sequelize.STRING,
	parent_id: Sequelize.STRING,
	identifying_id: Sequelize.STRING,
	icon: Sequelize.STRING,
	images: Sequelize.STRING,
	is_nav: Sequelize.INTEGER,
	extend_id: Sequelize.STRING,
	status: Sequelize.INTEGER,
},{
  sequelize,
  tableName: 'channel'
})
module.exports = {
  Channel
}